#include <iostream>

using namespace std;
/*
14-2 Create two classes, A and B, with default constructors that announce themselves. Inherit a new class called C from A, and create a member object of B in C, but do not create a constructor for C. Create an object of class C and observe the results.
*/
class A {
public:
	A(){
		cout << "the default constructor of class A is called." << endl;
	}
};

class B {
public:
	B(){
		cout << "the default constructor of class B is called." << endl;
	}
};

class C: public A {
public:
	B b;
};



int main(int argc, char *argv[]) {
	C c;
}